package org.chen.ly.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.chen.common.ctrip.entity.Product;
import org.chen.common.lytrip.crawler.CrawlResult;
import org.chen.common.lytrip.crawler.CrawlerExecutionResult;
import org.chen.common.lytrip.entity.LyProduct;
import org.chen.ly.mapper.LyProductMapper;
import org.chen.ly.service.LyProductService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LyProductServiceImpl extends ServiceImpl<LyProductMapper, LyProduct> implements LyProductService {
    @Override
    public CrawlResult crawlProductsWithResult(String keyword, int pageIndex, Integer pageSize, Integer days, String departureCity) {
        return null;
    }

    @Override
    public CrawlerExecutionResult crawlProductsRange(String keyword, int startPage, Integer endPageIndex, Integer pageSize, Integer days, String departureCity) {
        return null;
    }

    @Override
    public List<Product> getUnfetchedDetailProducts() {
        return List.of();
    }

    @Override
    public void fetchProductDetail(String id) {

    }
}
